package cn.com.dcsgo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 热搜
 * TableName hot_search
 */
@TableName(value = "hot_search")
@Data
public class HotSearch {
    /**
     * 热搜ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "热搜ID")
    private Long hotSearchId;

    /**
     * 店铺ID，0为全局热搜
     */
    @Schema(description = "店铺ID，0为全局热搜")
    private Long shopId;

    /**
     * 内容
     */
    @Schema(description = "内容")
    private String content;

    /**
     * 录入时间
     */
    @Schema(description = "录入时间")
    private Date createTime;

    /**
     * 排序数（降序）
     */
    @Schema(description = "排序数（降序）")
    private Integer seq;

    /**
     * 状态 0：下线，1：上线
     */
    @Schema(description = "状态 0：下线，1：上线")
    private Integer status;

    /**
     * 热搜标题
     */
    @Schema(description = "热搜标题")
    private String title;
}
